# 反转字符串
def reversal(text_name):
    l = list(text_name)
    result = "".join(l[::-1])
    return result


aaa = 'aa1bbb'
# bb = aaa.find(aaa, "bbb", "-1", "-2")
# aaa_ = aaa.reverse()


bbb = reversal(aaa)

print(bbb)

text_name = 'Tamil_yuan_20191223_Dass_079_B_251-300_43.wav'
text_name = reversal(text_name)
text_names = text_name.split("_", 1)
text_names_one = text_names[0].split(".", 1)
print(text_names_one)
order_r = text_names_one[1]
order = reversal(order_r)
print(order)

text_name_new = text_names_one[0] + "." + text_names[1]
text_name_new_ = reversal(text_name_new)

print(text_name_new_)
